<?php

class DBComment extends DBString {

    public static function create($value) {

        $result = parent::create($value);

        if(strlen($result) > MAX_COMMENT_LENGTH)
            throw new Exception(_('Comment can be ').ARTIST_COMMENT_LENGTH._(' characters max.'));

        return $result;
    }
}